package org.example.websockettest.param;

import lombok.Getter;

@Getter
public class ResponseMessage {
    private String sender;
    private String type;
    private String content;
    private String timestamp;
    public ResponseMessage() {}

    public ResponseMessage(String sender, String type, String content,String timestamp) {
        this.sender = sender;
        this.type = type;
        this.content = content;
        this.timestamp=timestamp;
    }

    public void setTimestamp(String timestamp) {
        this.timestamp = timestamp;
    }

    public void setSender(String sender) {
        this.sender = sender;
    }

    public void setType(String type) {
        this.type = type;
    }

    public void setContent(String content) {
        this.content = content;
    }
}